import request from './request.js'

// 查找团长
export function getGl() {
	return request({
		url: '/gl',
		method: 'GET'
	})
}
//收藏商品
export function AddCollect(params) {
	return request({
		url: '/collect',
		method: 'POST',
		params:params
	})
}
//取消收藏商品
export function deleteCollect(params) {
	return request({
		url: '/collect',
		method: 'DELETE',
		params:params
	})
}
//获取收藏列表
export function getCollect(params) {
	return request({
		url: '/collect/list',
		method: 'GET',
		params:params
	})
}